//
//  BaseTabBarItem.m
//  SheMeasured
//
//  Created by yqh on 2019/4/11.
//  Copyright © 2019年 xmddkj. All rights reserved.
//

#import "BaseTabBarItem.h"

@implementation BaseTabBarItem

+ (instancetype)itemWithTitle:(NSString *)title imageNor:(NSString *)imageNor imageSel:(NSString *)imageSel {
    BaseTabBarItem *item = [[BaseTabBarItem alloc] init];
    
    item.title = title;
    item.imageNor = imageNor;
    item.imageSel = imageSel;
    
    return item;
}

+ (NSArray<BaseTabBarItem *> *)getTabBarItems {
    NSMutableArray *items = [NSMutableArray array];
    
    [items addObject:[BaseTabBarItem itemWithTitle:@"精选" imageNor:@"tab_home_nor" imageSel:@"tab_home_sel"]];
    [items addObject:[BaseTabBarItem itemWithTitle:@"分类" imageNor:@"tab_sort_nor" imageSel:@"tab_sort_sel"]];
    [items addObject:[BaseTabBarItem itemWithTitle:@"榜单" imageNor:@"tab_list_nor" imageSel:@"tab_list_sel"]];
    [items addObject:[BaseTabBarItem itemWithTitle:@"我的" imageNor:@"tab_mine_nor" imageSel:@"tab_mine_sel"]];
    
    return items;
}

@end
